# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-isodate
_pyname=isodate
pkgver=0.6.0
pkgrel=1
pkgdesc="An ISO 8601 date/time/duration parser and formatter"
url="http://pypi.python.org/pypi/isodate"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e977748e13ee2c94ab47bfc47113d152280e9acff6f70e773de73717392148dd2c111a7db2d9fa3679d37936c6ed9a23dc526cb00bd601df45459b6a244f9f7d  isodate-0.6.0.tar.gz"
